package io.renren.modules.zhongyi.service.impl;


import io.renren.modules.zhongyi.dao.ZYNewsDao;
import io.renren.modules.zhongyi.service.ZYNewsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class ZYNewsServiceImpl implements ZYNewsService {

    @Autowired
    ZYNewsDao newsDao;

    @Override
    public List getNewsList() {
        return newsDao.getNewsList();
    }

}
